<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>05_表格练习</title>
</head>
<body>
    <table border="1px" style="border-collapse: collapse">
        <tr>
            <th>编号</th>
            <th>姓名</th>
            <th>技能</th>
        </tr>
        <tr>
            <td style="text-align: center">1</td>
            <td>漩涡鸣人</td>
            <td>螺旋丸、仙术、尾兽化</td>
        </tr>
        <tr>
            <td style="text-align: center">2</td>
            <td>宇智波佐助</td>
            <td>千鸟、雷切、写轮眼</td>
        </tr>
        <tr>
            <td style="text-align: center">3</td>
            <td>春野樱</td>
            <td>百豪之术、治愈术</td>
        </tr>
    </table>
    <hr>
    <h1>合并单元格</h1>
    <table border="1px">
        <tr>
            <td>1-1</td>
            <td colspan="3">1-2</td>
        </tr><tr>
            <td>2-1</td>
            <td>2-2</td>
            <td>2-3</td>
            <td>2-4</td>
        </tr><tr>
            <td>3-1</td>
            <td rowspan="2">3-2</td>
            <td>3-3</td>
            <td>3-4</td>
        </tr><tr>
            <td>4-1</td>
            <td>4-3</td>
            <td>4-4</td>
        </tr>
    </table>
    <hr>
    <table border="1px" style="border-collapse: collapse">
        <tr>
            <td colspan="3" style="text-align: center">购物车</td>
        </tr>
        <tr>
            <th>商品编号</th>
            <th>商品名称</th>
            <th>商品价格</th>
        </tr>
        <tr>
            <td>1</td>
            <td>荣耀X60</td>
            <td>2601</td>
        </tr>
        <tr>
            <td>2</td>
            <td>三折叠</td>
            <td>27399</td>
        </tr>
        <tr>
            <td>总价:</td>
            <td colspan="2">30000</td>
        </tr>
    </table>
</body>
</html>